<!doctype html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorate="~{theme/breezyCV/layout}">
<head>
    <link rel="stylesheet" th:href="@{${baseLink} + '/source/fonts/font-awesome/css/font-awesome.min.css'}" />
</head>
<body>
<div layout:fragment="content">
    <div class="page-title">
        <h2>专辑</h2>
    </div>

    <div class="single-page-area">
        <div class="single-page-content">
            <div class="section-content">
                <div class="row">
                    <div class="col-sm-12 col-md-6" th:each="album,iterStat: ${albumList}">
                        <div class="album-item animate-box">
                            <a data-pjax th:href="@{'/albumDetail/' + ${album.id} + '/'}">
                                <img th:src="@{${album.coverUrl}}">
                                <div class="descr">
                                    <span th:if="${album.visitType == 0}"><i class="fa fa-lock"></i></span> [[${album.name}]]<span> ([[${album.detailNum}]])</span>
                                </div>
                            </a>
                        </div>
                    </div>
                </div>
                <div th:if="${albumNum == 0}" th:style="'text-align:center;'" th:text="'~~作者偷懒，没有创建专辑栏目~~'"></div>
            </div>
        </div>
    </div>

</div>
</body>
</html>